package com.landinfo.service;

import com.landinfo.domain.SampleLineMonitor;
import com.landinfo.service.dto.SampleLineMonitorDTO;
import java.util.List;

/**
 * Service Interface for managing SampleLineMonitor.
 */
public interface SampleLineMonitorService {

    /**
     * Save a sampleLineMonitor.
     *
     * @param sampleLineMonitorDTO the entity to save
     * @return the persisted entity
     */
    SampleLineMonitorDTO save(SampleLineMonitorDTO sampleLineMonitorDTO);

    /**
     *  Get all the sampleLineMonitors.
     *
     *  @return the list of entities
     */
    List<SampleLineMonitorDTO> findAll();

    /**
     *  根据用户名查询所有样线
     *
     *  @return the list of entities
     */
    List<SampleLineMonitorDTO> getAllSampleLineMonitorsByUser(String userName);

    /**
     *  Get the "id" sampleLineMonitor.
     *
     *  @param id the id of the entity
     *  @return the entity
     */
    SampleLineMonitorDTO findOne(Long id);

    /**
     *  Delete the "id" sampleLineMonitor.
     *
     *  @param id the id of the entity
     */
    void delete(Long id);
}
